package com.mirror.repository;

import com.mirror.entity.oldman.SchedulingProgram;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SchedulingProgramRepository extends JpaRepository<SchedulingProgram, String>, JpaSpecificationExecutor<SchedulingProgram> {


    Page<SchedulingProgram> findAll(Pageable pageable);

    List<SchedulingProgram> findAll();


}
